package cn.edu.njnu.mapper;

import cn.edu.njnu.pojo.Advice;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
@Repository
public interface AdviceMapper {
    void insertAdvice(String content, LocalDateTime time);
    List<Advice> queryAdvice();
}
